<form id="pagerForm" method="post" action="/index.php?act=visitafter&st=main">
	<input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="customer_name" value="{$customer_name}" />
	<input type="hidden" name="sale_name" value="{$sale_name}" />
</form>

<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="/index.php?act=visitafter&st=main" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				
				<td>
					客户姓名：<input type="text" name="customer_name" value="{$customer_name}" />
				</td>
				<td>
					业务员姓名：<input type="text" name="sale_name" value="{$sale_name}" />
				</td>
				<td>
					<ul>
						<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
					</ul>
				</td>
			</tr>
		</table>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="/index.php?act=visitafter&st=visitAdd" target="dialog" rel="add_order" title="添加售后走访信息" mask="true" width="910" height="400"><span>添加</span></a></li>
			<li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids" href="/index.php?act=visitafter&st=visitDelete" class="delete" postType="string"><span>删除</span></a></li>
			<li><a class="edit" href="/index.php?act=visitafter&st=visitEdit&id={sid_user}" target="dialog" rel="edit_order" title="编辑售后走访信息" mask="true" width="910" height="400"><span>修改</span></a></li>
			<li><a class="icon" href="/index.php?act=visitafter&st=handle&id={sid_user}" target="dialog" rel="handle_order" title="售后走访信息问题处理" mask="true" width="910" height="400"><span>处理问题</span></a></li>
			<li><a class="icon" href="/index.php?act=visitafter&st=visitView&id={sid_user}" target="navTab" rel="view_order" title="查看售后走访信息"><span>查看</span></a></li>
			<li><a class="icon" href="/index.php?act=visitafter&st=visitExport" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="113">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th width="80">客户名称</th>
				<th width="80">月用户状态</th>
				<th width="80">业务人员</th>
				<th width="80">所属部门</th>
				<th width="80">收集人部门</th>
				<th width="80">收集人电话</th>
				<th width="80">涉及合同</th>
				<th width="80">涉及产品</th>
				<th width="80">创建人</th>
				<th width="80">修改人</th>
				<th width="80">收集日期</th>
				<th width="80">添加日期</th>
			</tr>
		</thead>
		<tbody>
			{foreach item=visit from=$visit_list}
			<tr target="sid_user" rel="{$visit.customer_info_id}">
				<td><input name="ids" value="{$visit.customer_info_id}" type="checkbox"></td>
				<td title="{$visit.customer_name}" alt="{$visit.customer_name}">{$visit.customer_name}</td>
				<td title="{$visit.status}" alt="{$visit.status}">{$visit.status}</td>
				<td title="{$visit.sale_name}" alt="{$visit.sale_name}">{$visit.sale_name}</td>
				<td title="{$visit.part}" alt="{$visit.part}">{$visit.part}</td>
				<td title="{$visit.collection_part}" alt="{$visit.collection_part}">{$visit.collection_part}</td>
				<td title="{$visit.collection_tel}" alt="{$visit.collection_tel}">{$visit.collection_tel}</td>
				<td title="{$visit.agreement}" alt="{$visit.agreement}">{$visit.agreement}</td>
				<td title="{$visit.product}" alt="{$visit.product}">{$visit.product}</td>
				<td title="{$visit.author}" alt="{$visit.author}">{$visit.author}</td>
				<td title="{$visit.editer}" alt="{$visit.editer}">{$visit.editer}</td>
				<td title="{$visit.collection_date}" alt="{$visit.collection_date}">{$visit.collection_date}</td>
				<td title="{$visit.raw_add_time}" alt="{$visit.raw_add_time}">{$visit.raw_add_time}</td>
			</tr>
			{/foreach}
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				{foreach item=num from=$shoNum}
				<option value="{$num}" {if $numPerPage eq $num}selected{/if}>{$num}</option>
				{/foreach}
			</select>
			<span>条，共{$total}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$total}" numPerPage="{$numPerPage}" pageNumShown="{$pageNumShown}" currentPage="{$pageNum}"></div>
	</div>
</div>